//
//  HomeStatusModel.swift
//  BQWB
//
//  Created by laibingqiang on 16/10/26.
//  Copyright © 2016年 laibingqiang. All rights reserved.
//

import UIKit

class HomeStatusModel: NSObject {
    
    /// 创建时间
    var created_at: Date?
    /// 微博ID
    var id: Int64 = 0
    /// 微博信息内容
    var text: String?
    /// 微博来源
    var source: String?
    //用户模型
    var user:HomeUserModel?
    ///int	转发数
    var reposts_count: Int = 0
    /// 评论
    var comments_count: Int = 0
    /// int	表态数
    var attitudes_count: Int = 0
    /// 转发微博模型
    var retweeted_status:HomeStatusModel?
    ///配图
    var pic_urls:[HomePicModel]?
    
    class func modelContainerPropertyGenericClass()->(NSDictionary){
        return ["pic_urls":HomePicModel.self]
    }
    override var description: String{
        let keys = ["created_at", "id", "text", "source", "user","pic_urls"]
        return dictionaryWithValues(forKeys: keys).description
    }


}
